<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/style-q.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>上传文件</title>
</head>
<body>
<nav class="breadcrumb">运营管理 <span class="c-gray en">&gt;</span> 资源位管理 <span class="c-gray en">&gt;</span> 上传文件<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px ;display:block" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-member"  method="post">
        <div class="bg-1 bk-gray pos-r" style="height:740px;">
            <div class="f-l pd-20 " style="width:46%;">
                <b class="form-label w-85 lh-30 f-14" style="margin-left:52%">签约平台：</b>
                <div class="text-c pos-a" style="top:31%;left:23%">
                    <a class="btn btn-primary radius pos-a" style="top:31%;left:23%;" id="downLoadFromUrl" onclick="downLoadFromUrls()" href="">
                        <span style="position:relative;bottom: 3px">下载签约楼层excel模板</span></a>
                </div>
                <div class="text-c pos-a" style="top:60%;left:23%">
                    <input type="file" id="contractexcelFile" onchange="upContractExcelFile(event)" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" style="margin-left:25%;display: none">
                    <button id="contractExcel" class='btn btn-primary radius'>上传签约楼层excel文件</button>
                    <br>
                    <span style="color: #f00 ; line-height:40px;">上传文件size上限为200MB</span>
                    </br>
                </div>
                <div id="pic" class="text-c pos-a round bk-gray" style="top:50%;left:50%;width:185px;height:185px;z-index:10;margin:-115px 0 0 -63px;background:url('../../../../static/h-ui.admin/images/uploadimg.png') center/190px 190px">
                </div>
                <div>
                    <span class="pos-a" style="top:50%;left:47%;margin:73px 0 0 6px;color: #f00 ; line-height:40px;">上传文件size上限为200MB</span>
                </div>
            </div>

            <div class="f-r pd-20 pos-r" style="width:46%;height:85%;border-left:1px solid #dedede;">
                <b class="form-label w-85 lh-30 f-14"  style="margin-left:45%">普通平台：</b>
                <a class="btn btn-primary radius pos-a" style="top:35%;left:50%;margin:-1px 0 0-81px" id="downLoadFromUrl2" onclick="downLoadFromUrl2()" href="">
                    <span style="position:relative;bottom: 3px">下载普通楼层excel模板</span></a>
                <input type="file" id="file" onchange="changImg(event)" style="margin-left:25%;display: none" >
                <input type="file" id="excelFile" onchange="upExcelFile(event)" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" style="margin-left:25%;display: none">
                <div class="pos-a" style="top:67%;left:50%;margin:-1px 0 0 -75px;width:150px;" >
                    <button id="excelPic" class='btn btn-primary radius'>上传普通楼层excel文件</button>
                    <br>
                    <span style="color: #f00 ; line-height:40px;">上传文件size上限为200MB</span>
                    </br>
                </div>
            </div>
            <div style="clear: both;"></div>
            <div class="text-c mb-10">
                <input id="return" class="btn btn-primary radius" value="&nbsp;&nbsp;返回&nbsp;&nbsp;" type="button" onclick="close()" style="margin-left: 3%">
            </div>


        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script src="../../../../ht-js/operation-js/operation_resource/floor-js/floor_uploadFiles.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>

</body>
<script>
    //签约平台
    function downLoadFromUrls() {
        $("#downLoadFromUrl").attr("href",'https://'+ window.location.host +'/api/admin/abaseservice/downLoadFromUrl?urlStr=https://fsyuncai-file.oss-cn-beijing.aliyuncs.com/common/20180920173549801247.xlsx&fileName=签约平台楼层模板')
    }
    //普通平台
    function downLoadFromUrl2() {
        $("#downLoadFromUrl2").attr("href",'https://'+ window.location.host +'/api/admin/abaseservice/downLoadFromUrl?urlStr=https://fsyuncai-file.oss-cn-beijing.aliyuncs.com/common/20180830134055930688.xlsx&fileName=普通平台楼层模板')
    }
</script>
</html>